Math Quiz

Adok/Hugi

Hi there! Here's some math to warm you up for coding.

This time I have two little probability tasks for you:

1. Pick two random points on the arc of a circle. What's the probability that the straight line that connects these two points is longer than the radius of the circle?

2. {a, b} be two numbers out of {1, 2, 3, ..., 20}. (Note: a == b is allowed.) What's the probability that {a, b} have no common factor f?
(i.e., they have no common factor f with a mod f == 0 and b mod f == 0)

Send your answers to:

Adok/Hugi